package de.baumann.browser.views.dialog

import android.content.Context
import android.view.View
import de.baumann.browser.R

/**
 *@author:
 *@date:2019/7/10 16:52
 *@discription: 申请VIP 用户（licence转正）成功
 */
class TurnVipSuccessDialog(context: Context,var clickListener: View.OnClickListener) : BaseTipDialog(context) {

    override fun initView() {
        super.initView()
        getButton().setOnClickListener {
            dismiss()
            clickListener.onClick(it)
        }
    }

    override fun getTitle(): String {
        return context.getString(R.string.congratulations_becoming)
    }

    override fun getTipContent(): String {
        return context.getString(R.string.vipminer)
    }

    override fun getTipSubContent(): String {
        return ""
    }

    override fun getTipButtonText(): String {
        return context.getString(R.string.Sharingfriends)
    }
//    override fun laoutId(): Int {
//        return R.layout.dialog_turn_vip_success
//    }
//
//    override fun initView() {
//        setCanceledOnTouchOutside(false)
//        btnShareNow.setOnClickListener {
//            clickListener.onClick(it)
//        }
//    }

}